package com.gk.panda.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("动植物点位实体")
@TableName("biology_point")
public class BiologyPoint {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "点位主键id")
    private Integer id;

    @TableField("bio_id")
    @ApiModelProperty(value = "生物id")
    private Integer bioId;

    @ApiModelProperty(value = "生物名称")
    private String name;

    @ApiModelProperty(value = "生物类型 0-动物 1-植物")
    private Integer kingdom;

    @ApiModelProperty(value = "点位geoJson信息")
    @TableField("geo_json")
    private String geoJson;

    @ApiModelProperty(value = "图标地址")
    private String icon;

    @ApiModelProperty(value = "保护等级")
    @TableField("protection_level")
    private String protectionLevel;

    @ApiModelProperty(value = "图片地址")
    @TableField("pic_url")
    private String picUrl;

    @ApiModelProperty(value = "创建人")
    private String creator;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    private String modifier;

    @ApiModelProperty(value = "排序")
    private Integer sort;
}
